home *** CD-ROM | disk | FTP | other *** search
/ Aminet 40 / Aminet 40 (2000)(Schatztruhe)[!][Dec 2000].iso / Aminet / util / cdity / MRQ.lha / MRQ / Source / include / lib
Text File  |  2000-10-16  |  2KB  |  42 lines

  1. /*
  2. ** mb_utils.h
  3. ** © 1998-1999 Matthias Bethke
  4. **
  5. ** Link library with general purpose functions 
  6. */
  7. #ifndef _COMMSIZE_H
  8. #include <sys/commsize.h>
  9. #endif
  10.  
  11. #ifndef EXEC_TYPES_H
  12. #include <exec/types.h>
  13. #endif
  14. #ifndef DOS_DOS_H
  15. #include <dos/dos.h>
  16. #endif
  17. #ifndef INTUITION_CLASSES_H
  18. #include <intuition/classes.h>
  19. #endif
  20. #ifndef WORKBENCH_WORKBENCH_H
  21. #include <workbench/workbench.h>
  22. #endif
  23.  
  24.  
  25. char *mb_stristr(const char*, const char*);        // string_to_search, string_to_look_for
  26. char *mb_strlimcpy(char*, const char*, size_t);    // destination, source, destsize
  27. char *mb_strtok(char**, char*);                        // string_to_search, break_characters
  28. LONG mb_VNSPrintf(STRPTR,STRPTR,LONG,LONG*);        // destination, formatstring, length, argarray
  29. LONG mb_VSPrintf(STRPTR, STRPTR, LONG*);            // destination, formatstring, argarray
  30. LONG mb_SPrintf(STRPTR,STRPTR,...);                    // destination, formatstring, arg, ...
  31. void __asm *AllocVecPooled(register __a0 APTR, register __d0 ULONG);    // pool, size
  32. void __asm FreeVecPooled(register __a0 APTR,register __a1 void*);        // pool, memblock
  33. STRPTR mb_GetCurrentDirName(APTR);                    // optional pool
  34. STRPTR mb_GetProgramName(APTR);                        // optional pool
  35. STRPTR mb_NameFromLock(APTR,BPTR);                    // optional pool, lock
  36. ULONG DoSuperNew(struct IClass*, Object*, ULONG, ...);
  37. STRPTR CloneString(APTR, STRPTR);                    // optional pool, stringpointer
  38. void FreeString(APTR, STRPTR);                        // optional pool, stringpointer
  39. STRPTR ConcatStrings(APTR, STRPTR, ...);            // optional pool, stringpointer, ...
  40. struct DiskObject *ReadProgramIcon(APTR);            // optional pool
  41. APTR AllocAligned(ULONG,ULONG,ULONG);                // size, alignment, memtype
  42.